import request from '@/utils/request'
//贷款产品参数配置修改
export  function parameterUpdate(query){
    return request({
        url:"/loan/loanInfoParameter/update",
        method: 'post',
        data:query
    })
}
//贷款产品参数配置修改排序
export  function parameterUpdateSortNum(query){
    return request({
        url:"/loan/loanInfoParameter/updateSortNum",
        method: 'post',
        data:query
    })
}
//查询所有启用的贷款产品参数分类及参数组
export  function queryParameter(query){
    return request({
        url:"/loan/loanInfoParameter/queryParameter",
        method: 'post',
        data:query
    })
}
//查询贷款产品参数列表
export  function parameterList(query){
    return request({
        url:"/loan/loanInfoParameter/list",
        method: 'post',
        data:query
    })
}
//引用贷款产品参数组
export  function parameterCopy(query,id){
    return request({
        url:"/loan/loanInfoParameter/copy/"+id,
        method: 'post',
        data:query
    })
}
//新增贷款产品参数配置
export  function parameterAdd(query){
    return request({
        url:"/loan/loanInfoParameter/add",
        method: 'post',
        data:query
    })
}
//删除贷款产品参数配置
export  function parameterDel(id){
    return request({
        url:"/loan/loanInfoParameter/"+id,
        method: 'delete',
    })
}